package ${packageConfig.repositoryImplPackage};

import ${repositoryImplConfig.superClassImportPackage};
import ${packageConfig.entityPackage}.${table.entityClassName};
import ${packageConfig.mapperPackage}.${table.mapperClassName};
import ${packageConfig.repositoryPackage}.${table.repositoryClassName};
<#if table.idImportPackage??>
import ${table.idImportPackage};
</#if>
<#if repositoryImplConfig.springAnnotationType=='Repository'>
import org.springframework.stereotype.Repository;
<#elseif repositoryImplConfig.springAnnotationType=='Component'>
import org.springframework.stereotype.Component;
<#elseif repositoryImplConfig.springAnnotationType=='Service'>
import org.springframework.stereotype.Service;
<#else>
import org.springframework.stereotype.Component;
</#if>

/**
 * <p>
 * ${table.comment!} 仓储层实现
 * </p>
 *
 * @author ${javadocConfig.author}
 * @since ${javadocConfig.since}
 */
<#if repositoryImplConfig.springAnnotationType=='Repository'>
@Repository
<#elseif repositoryImplConfig.springAnnotationType=='Component'>
@Component
<#elseif repositoryImplConfig.springAnnotationType=='Service'>
@Service
<#else>
@Component
</#if>
public class ${table.repositoryImplClassName} extends ${repositoryImplConfig.superClassName}<${table.mapperClassName}, ${table.entityClassName}, ${table.idClassName}> implements ${table.repositoryClassName} {
}
